package com.cloud.magic_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 开发账户信息
 *
 * @author yzj
 * @since 2022-08-26
 */
@Data
@Schema(name = "SysUser对象", description = "Magic-Api")
@TableName("sys_user_info")
public class SysUserInfo extends BaseEntity {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "开发者账户")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "开发者昵称")
    private String nickName;

    @Schema(description = "职位")
    private String postName;

    @Schema(description = "状态（0 启用 1停用）")
    private String state;

    @Schema(description = "角色主键")
    private Long roleId;

}
